package com.frxuexi.park.intent

import com.frxuexi.lib_base.mvi.IUiIntent
import com.frxuexi.lib_base.room.ParkEntity

sealed class ParkPreIntent:IUiIntent {
    data class addPark(val entity: ParkEntity): ParkPreIntent()

    data class getParksByDate(val date:String):ParkPreIntent()
    data class getCountByDate(val date:String):ParkPreIntent()

    data class deletePark(val entity: ParkEntity): ParkPreIntent()
    data class updatePark(val entity: ParkEntity): ParkPreIntent()

    data class getParksByDateOrNum(val para:String):ParkPreIntent()
    data class getParksById(val id:Int):ParkPreIntent()

    data class getParks(val size:Int,val offset:Int):ParkPreIntent()

}